package com.xkstream.client.api;

import com.google.gson.annotations.SerializedName;
import com.xkstream.client.utils.RetrofitUtil;

/**
 * Created by xiaoyi on 2017/8/24.
 */

public class UserApi {
    private UserApi() {
        service = RetrofitUtil.getRetrofit().create(UserService.class);
    }

    public UserService service;

    private static class InnerHolder {
        public static final UserApi sInstance = new UserApi();
    }

    public static UserApi getInstance() {
        return InnerHolder.sInstance;
    }
}
